﻿using System;

namespace XamlTorrent.Managers.UriGetter.Downloaders
{
    /// <summary>
    /// Metadata of some content.
    /// </summary>
    class ContentHeaderData
    {
        public ContentHeaderData(long length, bool? segment)
        {
            ContentLength = length;
            CanSegment = segment;
        }

        public readonly long ContentLength;
        public readonly Nullable<bool> CanSegment;
    }
}
